﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tetris
{
   public class OptimizedRenderer : Renderer
    {
        private bool isFieldRendered = false;

        public override void RenderField(GameField field)
        {
            if (!isFieldRendered)
            {
                
                base.RenderField(field);
                this.isFieldRendered = true;
            }
        }
    }
}
